<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/menu.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/input.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />

	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<div class="container" id="page">

	<div id="header">

	</div><!-- header -->

	<div id="mainmenu">
		<?php /*$this->widget('zii.widgets.CMenu',array(
			'items'=>array(
				array('label'=>'Home', 'url'=>array('/site/index')),
				array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about')),
				array('label'=>'Contact', 'url'=>array('/site/contact')),
				array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
				array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
			)
			)); */
		?>
				<ul class="menu">
		 
				    <li><?php echo CHtml::link('Inicio',array('site/index')); ?></li>
    				<li><a href="#">Clientes</a>
				        <ul>
				            <li><?php echo CHtml::link('Clientes',array('cliente/index')); ?></li>
				            <li><?php echo CHtml::link('Percepciones',array('percepcion/index')); ?></li>
				        </ul>
				    </li>
				    <li><?php echo CHtml::link('Proveedores',array('proveedor/index')); ?></li>
				    <li><a href="#">Productos</a>
				        <ul>
				            <li><?php echo CHtml::link('Productos',array('producto/index')); ?></li>
				            <li><?php echo CHtml::link('Inventario',array('inventario/index')); ?></li>
				            <li><?php echo CHtml::link('Producto/Rubro',array('producto/asociacion')); ?></li>
				        </ul>
				    </li>
				    <li><a href="#">Ventas</a>
				        <ul>
				            <li><?php echo CHtml::link('Cheques',array('cheque/index')); ?></li>
				            <li><?php echo CHtml::link('Comprobante',array('comprobantemanual/index')); ?></li>
				            <li><?php echo CHtml::link('Facturaci&oacute;n',array('venta/index')); ?></li>
				            <li><?php echo CHtml::link('Ventas',array('venta/admin')); ?></li>
				            <li><?php echo CHtml::link('Cobranzas',array('cobranzas/admin')); ?></li>
				            
				        </ul>
				    </li>
				     <li><a href="#">Compras</a>
				        <ul>
				            <li><?php echo CHtml::link('Recepci&oacute;n',array('compra/index')); ?></li>

				            <li><?php echo CHtml::link('Gastos',array('gasto/index')); ?></li>
				        </ul>
				    </li>
				     <li><a href="#">Configuracion</a>
				        <ul>
				            <li><?php echo CHtml::link('Fiscal',array('fiscal/index')); ?></li>
				            <li><?php echo CHtml::link('N&uacute;meros',array('numero/index')); ?></li>
				            <li><?php echo CHtml::link('L&iacute;mites',array('limite/index')); ?></li>
				        </ul>
				    </li>
				    <li><a href="#">Datos</a>
				        <ul>
				            <li><?php echo CHtml::link('Caja y Bancos',array('cajaybanco/index')); ?></li>
				            <li><?php echo CHtml::link('Cpbte CyB',array('cajaybcpbte/index')); ?></li>
				            <li><?php echo CHtml::link('Circuitos',array('circuito/index')); ?></li>
				            <li><?php echo CHtml::link('Comprobantes',array('comprobante/index')); ?></li>
				            <li><?php echo CHtml::link('Empleados',array('empleado/index')); ?></li>
				            <li><?php echo CHtml::link('Forma Pago',array('formadepago/index')); ?></li>
				            <li><?php echo CHtml::link('Localidad',array('localidad/index')); ?></li>
				            <li><?php echo CHtml::link('Posici&oacute;n IVA',array('posicioniva/index')); ?></li>
				            <li><?php echo CHtml::link('Rubro',array('rubro/index')); ?></li>
				            <li><?php echo CHtml::link('Rubro Gastos',array('rubrogasto/index')); ?></li>
				            <li><?php echo CHtml::link('Sucursal',array('sucursal/index')); ?></li>
				            <li><?php echo CHtml::link('Conversi&oacute;n',array('#')); ?></li>
				            <li><?php echo CHtml::link('Unidad Medida',array('unidadmedida/index')); ?></li>
				        </ul>
				    </li>
				    
				    <li><a href="#">Listados</a>
				        <ul>
				            <li><?php echo CHtml::link('Listado Minorista',array('report/listadoMinorista')); ?></li>
				        </ul>
				    </li>			 
				</ul>
	</div><!-- mainmenu -->
	<?php if(isset($this->breadcrumbs)):?>
		<?php $this->widget('zii.widgets.CBreadcrumbs', array(
			'links'=>$this->breadcrumbs,
		)); ?><!-- breadcrumbs -->
	<?php endif?>

	<?php echo $content; ?>

	<div class="clear"></div>

	<div id="footer">
		Copyright &copy; <?php echo date('Y'); ?> by Toledo Distribuciones.<br/>
		All Rights Reserved. Paulo Dami&aacute;n Toledo<br/>
	</div><!-- footer -->

</div><!-- page -->

</body>
</html>
